package com.fivefu.core.skyeye.event.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 场景表
 * </p>
 *
 * @author 
 * @since 2022-10-09 15:22:52
 */
@TableName("db_ai_scene")
@ApiModel(value = "DbAiScene对象", description = "场景表")
public class DbAiScene {

    @ApiModelProperty("自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("是否删除0否1是")
    private Integer isDelete;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新人")
    private String updatedBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("场景标识")
    @TableField("`code`")
    private String code;

    @ApiModelProperty("场景名称")
    @TableField("`name`")
    private String name;

    @ApiModelProperty("场景描述")
    @TableField("`description`")
    private String description;

    @ApiModelProperty("是否启用;0:否,1:是")
    @TableField("`enable`")
    private Integer enable;

    @ApiModelProperty("持续时长")
    private Long continuedTime;

    @ApiModelProperty("场景有效时间;时间格式：HHmm,示例：[[\"0900\",\"1000\"],[\"1100\",\"1200\"]]")
    private String sceneValidTime;

    @ApiModelProperty("识别类型")
    private String cvType;

    @ApiModelProperty("识别参数")
    private String cvParam;

    @ApiModelProperty("是否绘制识别区域;0:否,1:是")
    private Integer sceneArea;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Long getContinuedTime() {
        return continuedTime;
    }

    public void setContinuedTime(Long continuedTime) {
        this.continuedTime = continuedTime;
    }

    public String getSceneValidTime() {
        return sceneValidTime;
    }

    public void setSceneValidTime(String sceneValidTime) {
        this.sceneValidTime = sceneValidTime;
    }

    public String getCvType() {
        return cvType;
    }

    public void setCvType(String cvType) {
        this.cvType = cvType;
    }

    public String getCvParam() {
        return cvParam;
    }

    public void setCvParam(String cvParam) {
        this.cvParam = cvParam;
    }

    public Integer getSceneArea() {
        return sceneArea;
    }

    public void setSceneArea(Integer sceneArea) {
        this.sceneArea = sceneArea;
    }

    @Override
    public String toString() {
        return "DbAiScene{" +
        "id=" + id +
        ", isDelete=" + isDelete +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", updatedBy=" + updatedBy +
        ", updatedTime=" + updatedTime +
        ", remark=" + remark +
        ", code=" + code +
        ", name=" + name +
        ", description=" + description +
        ", enable=" + enable +
        ", continuedTime=" + continuedTime +
        ", sceneValidTime=" + sceneValidTime +
        ", cvType=" + cvType +
        ", cvParam=" + cvParam +
        ", sceneArea=" + sceneArea +
        "}";
    }
}
